date >>/tmp/start_mariadb.log
# echo "start mariadb..." >>/tmp/start_mariadb.log
 /usr/libexec/mysqld --wsrep-new-cluster --user=root & >>/tmp/start_mariadb.log
ssh controller2 "systemctl stop mariadb >>/tmp/start_mariadb.log"
ssh controller3 "systemctl stop mariadb >>/tmp/start_mariadb.log"
ssh controller2 "systemctl start mariadb >>/tmp/start_mariadb.log"
ssh controller3 "systemctl start mariadb >>/tmp/start_mariadb.log"
date >>/tmp/start_mariadb.log
echo "mariadb start ok!" >>/tmp/start_mariadb.log
cat /tmp/start_mariadb.log

